-
Home
-
Phrase TMS Integration for WordPress
-
3.0.2
-
Code
-
Classes
- WPMLPlugin
Total Complexity |
35 |
Dependencies |
3 |
Dependents |
1 |
Total lines |
216 |
Lines of code |
144 |
Logical lines of code |
69 |
Comment lines |
2 |
Methods |
17 |
Properties |
0 |
Methods 17
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
storePostTranslation() |
A |
48 |
8 |
32 |
storeTermTranslation() |
A |
44 |
6 |
46 |
getTranslationId() |
S |
61 |
3 |
12 |
getTargetLanguages() |
S |
64 |
3 |
10 |
convertTermTypeToWpmlType() |
S |
78 |
2 |
3 |
getActiveLanguagesDetails() |
S |
78 |
2 |
3 |
convertPostTypeToWpmlType() |
S |
80 |
1 |
3 |
switchToSite() |
S |
81 |
1 |
3 |
switchToSiteByTargetLang() |
S |
81 |
1 |
3 |
getName() |
S |
82 |
1 |
3 |
getTermTranslationId() |
S |
70 |
1 |
7 |
isPluginActive() |
S |
80 |
1 |
3 |
getActiveLanguages() |
S |
79 |
1 |
3 |
getSourceLanguage() |
S |
81 |
1 |
3 |
supportsNetworkAdminMenu() |
S |
82 |
1 |
3 |
supportsAdminMenu() |
S |
82 |
1 |
3 |
sitepress() |
S |
78 |
1 |
4 |